package com.aaa.entity;


public class FCart {

  private Integer id;
  private Integer f_user;
  private Integer book;
  private String time;
  private Integer number;
  private double price;

  public FCart() {
  }

  @Override
  public String toString() {
    return "FCart{" +
            "id=" + id +
            ", f_user=" + f_user +
            ", book=" + book +
            ", time='" + time + '\'' +
            ", number=" + number +
            ", price=" + price +
            '}';
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Integer getF_user() {
    return f_user;
  }

  public void setF_user(Integer f_user) {
    this.f_user = f_user;
  }

  public Integer getBook() {
    return book;
  }

  public void setBook(Integer book) {
    this.book = book;
  }

  public String getTime() {
    return time;
  }

  public void setTime(String time) {
    this.time = time;
  }

  public Integer getNumber() {
    return number;
  }

  public void setNumber(Integer number) {
    this.number = number;
  }

  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }

  public FCart(Integer id, Integer f_user, Integer book, String time, Integer number, double price) {
    this.id = id;
    this.f_user = f_user;
    this.book = book;
    this.time = time;
    this.number = number;
    this.price = price;
  }
}
